<?php
	require '../utils/conn.php';
	
	$setId = $_REQUEST['setId'];
	$title = $_REQUEST['title'];
	$timestamp = time();
	
	$query = "UPDATE t_set SET s_name='$title', s_timestamp='$timestamp' WHERE s_id=".$setId;
	$result = mysql_query($query) or die("update failed：". mysql_error());
	
?>